/* #region ステップリスト */
.steps-list {
    list-style: none;
    counter-reset: step-counter;
    margin-bottom: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.step-item {
    counter-increment: step-counter;
    padding: 12px 0;
    padding-left: 40px;
    position: relative;
    color: #999;
    font-size: 14px;
    transition: all 0.3s ease;
}

.step-item::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    color: white;
}

.step-item.active {
    color: #DC0714;
    font-weight: 600;
}

.step-item.active::before {
    background: #DC0714;
}

.step-item.completed {
    color: #333;
}

.step-item.completed::before {
    background: #DC0714;
    content: '✓';
    font-size: 14px;
}

/* #endregion */

/* #region 注意事項ボックス */

.notice-box {
    background: #fff9e6;
    border-left: 4px solid #ffcc00;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 6px;
}

.notice-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.notice-item {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.7;
}

.notice-item:last-child {
    margin-bottom: 0;
}

.notice-mark {
    color: #ff9800;
    font-weight: bold;
    margin-right: 4px;
}

/* #endregion */

/* #region メールアイコンとアドレス表示 */
.email-display {
    text-align: center;
    margin-bottom: 30px;
}

.email-icon {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.email-icon svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.email-address {
    font-size: 16px;
    color: #999;
    font-weight: 500;
}

/* #endregion */

/* #region 認証タイトルとメッセージ */

.verification-title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

.verification-description {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* #endregion */

/* #region パスワード入力 */
.password-wrapper {
    position: relative;
}

.password-input {
    padding-right: 80px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #DC0714;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 12px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #b80512;
}

.toggle-password:focus {
    outline: 2px solid #DC0714;
    outline-offset: 2px;
    border-radius: 4px;
}

/* #endregion */

/* #region チェックボックスグループ */
.checkbox-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.checkbox-input {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #DC0714;
}

.checkbox-text {
    font-size: 14px;
    color: #333;
}

/* #endregion */

/* #region リンクグループ */
.link-group {
    text-align: center;
    margin: 20px 0;
}

.text-link {
    color: #DC0714;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: block;
    margin: 10px 0;
}

.text-link:hover {
    color: #b80512;
    text-decoration: underline;
}

/* #endregion */

/* #region レスポンシブデザイン */

@media (max-width: 768px) {

    .steps-list {
        padding: 15px;
    }

    .step-item {
        font-size: 13px;
        padding-left: 35px;
    }

    .step-item::before {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .submit-button {
        width: 100%;
        padding: 14px 40px;
    }

    .info-box,
    .notice-box {
        padding: 15px;
    }

    .password-input {
        padding-right: 70px;
    }

    .toggle-password {
        font-size: 13px;
        padding: 6px 10px;
    }

    .checkbox-group {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* #endregion */

/* #region アニメーション */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-section {
    animation: fadeIn 0.6s ease-out;
}
/* #endregion */
